package team.knowers.firm.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import team.knowers.firm.dao.entity.PaymentDO;
import team.knowers.firm.dto.req.PagePaymentInfoReqDTO;

public interface PaymentService extends IService<PaymentDO> {
    //分页查看所有订单
    IPage<PaymentDO> getAllPaymentsPage(PagePaymentInfoReqDTO reqDTO);
    //分页查看所有已支付订单
    IPage<PaymentDO> getPaidPaymentsPage(PagePaymentInfoReqDTO reqDTO);
    //分页查看所有未支付订单
    IPage<PaymentDO> getUnpaidPaymentsPage(PagePaymentInfoReqDTO reqDTO);
    //分页查看所有已取消订单
    IPage<PaymentDO> getCanceledPaymentsPage(PagePaymentInfoReqDTO reqDTO);
}